<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('已发布信用分')" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
            <div class="col-sm-12 select-table table-striped">
                <table id="bootstrap-table"></table>
            </div>
    </div>
    <th:block th:include="include :: footer" />
    <script th:inline="javascript">
        var prefix = ctx + "system/gradeimport";

        var gradePeriod = [[${gradePeriod}]];
        var city = [[${city}]];
        var gradeName = [[${gradeName}]];

        $(function() {
            var options = {
                url: prefix + "/listSelected?city="+city+"&gradePeriod="+gradePeriod+"&gradeName="+gradeName,
                modalName: "已发布信用分导入",
                showSearch: false,
            	showRefresh: false,
            	showToggle: false,
            	showColumns: false,
            	pagination:false,
                columns: [
                {
                    field: 'id',
                    title: 'ID',
                    visible: false
                },
                {
                    field: 'gradeName',
                    title: '评价标准名称'
                },
                {
                    field: 'city',
                    title: '地区'
                },
                {
                    field: 'gradePeriod',
                    title: '考核周期'
                },
                {
                    field: 'company',
                    title: '施工企业'
                },
                {
                    field: 'score',
                    title: '评价分数'
                },
                {
                    field: 'gradeOrder',
                    title: '排名'
                }]
            };
            $.table.init(options);
        });

        /* 提交 */
		function submitHandler() {
			$.modal.close();
		}
    </script>
</body>
</html>